package com.gpframework.module.sys.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gpframework.module.sys.domain.SysAnnouncement;
import com.gpframework.module.sys.domain.vo.SysAnnouncementVo;

import java.util.List;

/**
 * @ClassName sysAnnouncement
 * @Author gpframework
 * @Date 2022-08-23
 * @Version 1.0.0
 * @Description 系统公告Service接口
 */
public interface ISysAnnouncementService extends IService<SysAnnouncement> {

    /**
     * @Description 查询列表返回VO 用于返回给前端的列表接口
     * @Author gpframework
     * @Date 2022-08-23
     * @Param [lqw]
     * @Return List<sysAnnouncementVo>
     */
    List<SysAnnouncementVo> listVo(QueryWrapper<SysAnnouncement> lqw);

    /**
     * @Description 通过查询详情VO 用于返回给前端的列详情接口
     * @Author gpframework
     * @Date 2022-08-23
     * @Param [id]
     * @Return sysAnnouncementVo
     */
    SysAnnouncementVo getVoById(Long id);

}
